package com.myblog.demo.common;

import java.time.LocalDateTime;
/**
 * 检测时间
 */
public class CheckTimeTools {
    public static boolean checkTimeout(LocalDateTime createtime) {
        LocalDateTime currentDateTime = LocalDateTime.now();
        return currentDateTime.isAfter(createtime);
    }
}
